package com.ceuer.pet.entity;

//宠物品种对象
public class Breed {
	private Integer id;//宠物品种id
	//private Integer speciesid;//宠物类型id
	private String name;//宠物品种名称
	private Species species;//宠物类型对象
	
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder("Breed [");
		if (id != null)
			sb.append("            id=").append(id).append(",");
		if (name != null)
			sb.append("            name='").append(name).append("',");
		if (species != null)
			sb.append("            species=").append(species).append(",");
		sb.append("] ");
		sb.append(super.toString());
		return sb.toString();
	}
	
	public Species getSpecies() {
		return species;
	}
	
	public void setSpecies(Species species) {
		this.species = species;
	}
	public Integer getId() {
		return id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
}